package com.ruoyi.car.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆规格对象 car_spec
 * 
 * @author zls
 * @date 2020-03-29
 */
public class CarSpec extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆规格ID */
    private Long id;

    /** 缩略图 */
    private String picSmall;

    /** 大图 */
    private String picBig;

    /** 品牌ID */
    @Excel(name = "品牌ID")
    private Long brandId;

    /** 规格名称 */
    @Excel(name = "规格名称")
    private String specName;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Integer orderNum;

    /** 规格状态（0正常 1停用） */
    @Excel(name = "规格状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPicSmall(String picSmall) 
    {
        this.picSmall = picSmall;
    }

    public String getPicSmall() 
    {
        return picSmall;
    }
    public void setPicBig(String picBig) 
    {
        this.picBig = picBig;
    }

    public String getPicBig() 
    {
        return picBig;
    }
    public void setBrandId(Long brandId) 
    {
        this.brandId = brandId;
    }

    public Long getBrandId() 
    {
        return brandId;
    }
    public void setSpecName(String specName) 
    {
        this.specName = specName;
    }

    public String getSpecName() 
    {
        return specName;
    }
    public void setOrderNum(Integer orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Integer getOrderNum() 
    {
        return orderNum;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("picSmall", getPicSmall())
            .append("picBig", getPicBig())
            .append("brandId", getBrandId())
            .append("specName", getSpecName())
            .append("orderNum", getOrderNum())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
